#pragma once
#include "../bytearray.h"
#include "../gus2_config.h"
#if GUS2_ENABLE_ATTRI
#define CTRL_TYPE_BAR bar
typedef struct {
	unsigned char Value;
	unsigned char Color;
	unsigned char Flush;
}__gui_attr_bar;
extern const __gui_attr_bar CTRL_BAR_ATTR;
#endif 
void gui_bar_set_value(bytearray_t* ba, unsigned int value);
void gui_bar_set_color(bytearray_t* ba, gui_color_t color);
void gui_bar_set_flush(bytearray_t* ba);
